//
//  StrategyCommentsModel.m
//  project
//
//  Created by 张振宇 on 15/10/28.
//  Copyright © 2015年 lanou. All rights reserved.
//

#import "StrategyCommentsModel.h"

@implementation StrategyCommentsModel

-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

-(void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        
        _Myid = value;
        
    }
    else if ([key isEqualToString:@"user"])
    {
        
        _nickname = value[@"nickname"];
        _avatar_url = value[@"avatar_url"];
    }
    else if ([key isEqualToString:@"replied_user"])
    {
        _replied_user_nickname = value[@"nickname"];
    }
    else{
    [super setValue:value forKey:key];
    }   
}
@end
